﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LoginWebUsingWebBrowser
{
    public partial class frmUser : Form
    {
        public frmUser()
        {
            InitializeComponent();
        }

        public List<String> Users { get; set; }
        private void btnbutton1_Click(object sender, EventArgs e)
        {
            Users = new List<string>();

            int start = Convert.ToInt32(txttextBox1.Text);
            int end = Convert.ToInt32(txttextBox2.Text);

            for (int i = start; i < end+1; i++)
            {
                string user = string.Format("{0:00000}", i);
                Users.Add(user);
            }
            MessageBox.Show("OK");
        }
    }
}
